-
Notifications
You must be signed in to change notification settings - Fork 13.8k
kleidiai: fix zero-size array declaration #17240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| }, | ||
| #endif | ||
| #endif | ||
| { /* Sentinel */ } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using {0} as an explicit initializer.
| /* .op_type = */ GGML_TYPE_F32, | ||
| }, | ||
| #endif | ||
| { /* Sentinel */ } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done. thanks
373da48 to
dee8096
Compare
|
Please check the CI failures. |
dee8096 to
48800c5
Compare
|
I’ve reverted {0} back to {}. The {} performs full value-initialization. |
|
Hi @ggerganov, could you please take a look at this PR when you get a chance? Thanks! |
Summary
Fixes #17187.
Changes
{}sentinel element at the end of arrays to ensure they are never zero-sized.